package stringexercise;
/**  Trim 的演示
 *  String trim():
 *  去除当前字符串两边的空白字符
 * */
public class TrimDemo {
    public static void main(String[] args) {
        String str = "   hello Java   ";

        String a = str.trim();
        System.out.println(a);
    }
}
